import 'vant/lib/index.css'
import './style.css'

import { Lazyload } from 'vant'
import { createApp } from 'vue'

import App from './App'
import filerouter from './fileroute/router'
import routes from './fileroute/routes'
import './views/setmodel'

console.log({ routes, filerouter })
const _fileRouter = filerouter({
    routesHook: (routes) => {
        routes.push({
            path: '/',
            redirect: '/chooseSex'
        })
    }
})
createApp(App)
    .use(_fileRouter)
    .use(Lazyload)
    .mount('#app')
